package interface07;
interface A{
    void show1();
}

interface B{
    void show2();

}
class C implements A,B{
    @Override
    public void show1() {
        System.out.println("show1");
    }

    @Override
    public void show2() {
        System.out.println("show2");
    }
}
public class Demo01 {
    public static void main(String[] args) {
        method01();
    }

    private static void method01() {
        C c = new C();
        c.show1();
        c.show2();
    }

}
